From: Po Lu Date: Sat, 9 Jul 2022 01:16:05 +0000 (+0000) Subject: Fix redisplay after running selection hook on Haiku X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~1081 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=29c8866c7fcd325995c6fc9b2b18537855fee52c;p=emacs.git Fix redisplay after running selection hook on Haiku * src/haikuselect.c (haiku_handle_selection_clear): Call redisplay_preserve_echo_area. --- diff --git a/src/haikuselect.c b/src/haikuselect.c index 999a0f5ac29..03aba1f9baa 100644 --- a/src/haikuselect.c +++ b/src/haikuselect.c @@ -1026,6 +1026,10 @@ haiku_handle_selection_clear (struct input_event *ie) { CALLN (Frun_hook_with_args, Qhaiku_lost_selection_functions, ie->arg); + + /* This is required for redisplay to happen if something changed the + display inside the selection loss functions. */ + redisplay_preserve_echo_area (20); } void